import {http} from "./../request"
// banner管理
let banner = {
  getBanner(data) {
    return http("/other/getBanner", data)
  },
  addBanner(data) {
    return http("/other/insertBanner", data)
  },
  showBanner(data) {
    return http("/other/showBanner", data)
  },
  updateBannerState(data) {
    return http("/other/updateBannerState", data)
  },

}
export default banner;
